<{include file="dcenter/block/header.html"}>
<div class="ucenter_t">
    <ul><li class="on">文章管理</li></ul>
    <span class="r"><a href="<{link ctl='dcenter/designer/blog:create'}>" class="pbtn">添加文章</a></span>
</div>
<div class="ucenter_c">
    <table width="100%" border="0" cellspacing="0" class="table">
    <tr>
        <th class="w-80">ID</th><th>标题</th><th class="w-50">是否置顶</th><th class="w-80">审核</th><th class="w-150">添加时间</th><th class="w-200"></th>
    </tr>
    <{foreach $items as $item}>
    <tr>
        <td class="left"><label><{$item.article_id}><label></td>
        <td><{$item.title|cutstr:50}></td>
        <td><{if $item.is_top}><b class="blue">置顶</b><{else}><b class="red">不置顶</b><{/if}></td>
        <td><{if $item.audit}><b class="blue">通过</b><{else}><b class="red">待审</b><{/if}></td>
        <td><{$item.dateline|format}></td>
        <td>
            <a href="<{link ctl='dcenter/designer/blog:edit' arg0=$item.article_id}>" class="pbtn">修改</a>
            <a href="<{link ctl='dcenter/designer/blog:delete' arg0=$item.article_id}>" mini-act="删除" mini-confirm="确定要删除吗？" class="pbtn red">删除</a>
        </td>
    </tr>
    <{foreachelse}>
     <tr><td colspan="20"><p class="tips"><span class="notice">没有数据</span></p></td></tr>
    <{/foreach}>
    <tr><td colspan="10"><div class="page"><{$pager.pagebar}></div></td></tr>
    </table>
</div>
<{include file="dcenter/block/footer.html"}>